package com.group.elmboot.bo;

import com.group.elmboot.vo.CreditTransactionVO;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.time.LocalDateTime;

@Setter
@Getter
@NoArgsConstructor
public class CreditTransactionBO extends CreditTransactionVO {

    protected int credit;
    protected LocalDateTime expiredTime;
    public CreditTransactionBO(CreditTransactionVO creditTransactionVO){
        this.userId=creditTransactionVO.getUserId();
        this.channelId=creditTransactionVO.getChannelId();
        this.eventId=creditTransactionVO.getEventId();
    }
}
